change the way to delete a sensor type