remove extraneous punctuation