fix time problem display