version compare cleanup, fix for imagick