Fix RTC minor errors