cleanup unitsync
unitsync cleanup
dead code--