fix sensor poll timing
optimize module