fix a couple of sync bugs