change LINEFEED to \0