fixing up some date display issues