diff --git a/wace_core/cpp/plugin_manager.cpp b/wace_core/cpp/plugin_manager.cpp
index 58fc3aee1e95ac38538331314bdbb7968c2c26c7..fadf18d2f921bd0df212344f7601d096e23fa5e3 100644
--- a/wace_core/cpp/plugin_manager.cpp
+++ b/wace_core/cpp/plugin_manager.cpp
@@ -57,7 +57,6 @@ DecisionInfo applyModelFunction(PluginManager pm, Request req){
     for (pair<string,FunctionModelPlugin> function : pm->model_function_list){
         log("Trying to execute model function of <"+function.first+"> plugin",3,INFO);
         model_prob = function.second(req);//execution of the model function
-        model_prob = 1;
         if (model_prob < 0){
             log("Failed to execute model function of <"+function.first+"> plugin. Plugin skipped\n",1,ERR);
         }else{