fix time rendering