fix to set_table_name