fixing hashes