fixed bug in torque