reverting hashes