fixed threads partial error