Remove extra spaces at EOL