Fixed bug with numthreads parsing