fix model template