Fix some issue at concurrency.