delete CR carater due to incompatibility with tty