Removing unnecessary line breaks