corrects misplaced commas