fixed the time output