some clean up in cuckoo filter code