fixed date display issue