another small fix for concurrency