RTC bug fixed