fix global_coord tables in the save_tables_nc()