handle nonexistent hashes