Fixed sensor type problem