Removing lines when there is empty text before