saving tmp in rtc