fix model set error