Fixed bug in concurrency memory access