fixed date display issues