Fixed verify_hash