BOS1405897 fixed function firstsyncremove and ApiUtils