Fixes for hashing using hex now