fix lost threads parameter from merge
Merge pull request #78 from bobatsar/master

fix lost threads parameter from merge