fix bug from sensor_poller move