FIX Cookie detector strategy
throw exception on not valid detectors