fix verificationlogic