fix model support