ishuman changed to istype for previously defined scope