remove newline read