fixed error in insert_commas