support model, collect plugin and cost plugin

fix