parallel bug fix 

...for local threads