Get rid of unecessary newlines