Fix bug on # of threads