Fix incorrect hashing