extra spaces removed at line endings