Remove unnecessary new lines