fixed format error for calendar popup