fix hashes