some bugs with miniCalendar fixed