fix a model sync bug