Fix bug in hashify