ui: handle empty kv index