minor bug fix displaying time