Fixing schedulers problem on mac