fixing more little pthreads