I've fixed the thread safe problem.