implement leveldb get_location and delete_prefix