remove misplaced \n