fix bug when multi thread problems