fix MergeModel