Fix wifi and RTC