fixes for date display