fix time and uptime