remove end of line char