fix rtc clock issue