modify process manager
fix scheduler