Fixing method call in verify_nonce function