fixed 2 threads