Fix nonce check failure