fix bug in date display