fix ClockService bug