Fixes random scheduling