fix scheduler import bug