realize delete_table()