changed line endings back to \n