cleaned up the hashes