fixed ProtectDetector