change nonce check