Added fixes for number of threads