now detector create in detector factory by key

checks