fix redundand \n scanned

- newline char (\n) which has been sent together with the msg