removing words with hyphens at the endt