fix multi-thread sync bug