fixed extra threads running