Remove extra spaces between lines