fix scheduler controller