fixed list_keys