remove ctrl m line ends for parsing