Removes duplicate new line