fix compile
unitsync UT: move unitsync methods into a namespace