fixed a bug with commas following comments