display of time, bug fixed