add scheduler
fix scheduler