fix error detection when verify is unset