Fixed sensor error