changed up a few things to add more resilency to hashdump