minor fixes to hanging commas, missing semicolons