fix sched error