fix time display (not complete)