to fix bug in using the wrong value of concurrency

 -to fix bug in using the wrong value of concurrency @iamchrismiller