fixing arrived sched, some bugs