fix jCalendar bug