fix small sync bug