removed extra commas at end of rows