Fixed crash with mySchedule