removed incorrect nonce validation