Physical midi piano trigger twice?

I have set an instrument to midi out and I can’t locally turn the piano off. so when I play the piano I hear double notes.

How can I make Renoise understand that when I play the piano notes are trigger by only the piano?

Do I have to turn off the output every time I play the piano?

I have the answer to my own question. I have to set up one input and one output instrument separate. I can then move all the notes from one instrument to another within the song with one command. Or is there any other way?