error check for authenticator