persistent dict fixes for hash randomization