fix a check for cain quest