fix to schedule times