Tnx for help. Done it. The problem was that returning bytes were on few lines and I didn't look after first \n :( tnx.