Removing extra newlines