fix for date display