fixed list_tables