fix scheduler schema