fixed the nonce value issue