fixes bug with punctuation