added method to reset nonce manually