Fixed some minor problems for the calendar