fixed threads bug