fixing some stuff in the calendar