fixes the calendar