insert-sensor  fix