Fix error in sensor detection