fixed line endings and junk text