fixed commas in var declarations