fix time displaying