Fix bug of double calendars