remove reference to scheduler