fixed bug in concurrentbooleancounter