finally fixed LightDetectors