addind sensor de-activation