EntityUI SP: class detection error fix