handles words with commas on the end