improve model map merging