added a try except for the sensors