diff --git a/src/config.h b/src/config.h
index ad4f53d35c9ff0c070c06c2335001e7e609acccf..c76598191aafac0344205c4f3d915063986f680e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -87,7 +87,7 @@ public:
     return (true ? vmap.at("enable_stream_processor") == "yes" : false);
   }
   bool getEnableElasticProcessor() const {
-    return (true ? vmap.at("enable_stream_processor") == "yes" : false);
+    return (true ? vmap.at("enable_elastic_processor") == "yes" : false);
   }
 
 private: