fix clean kvs reveal crash