Fixed remote sync bug.