remove lineSeparator and replace it by \n for a version problem