fixed concurrency error