fix model schema save error