added some debug to scheduler