[FIX] fixed concurrency bug