fix bug when sensors are not found
clened up a a few asserts