fix deploy_plugin view declaration