bug fix of torque scheduler