Fix commas in generator