Removing useless newlines