fixing date display