bug fixes in SensorController for I/O with controller PC