fix sheduler again