diff --git a/src/BeanHandler.php b/src/BeanHandler.php
index <HASH>..<HASH> 100644
--- a/src/BeanHandler.php
+++ b/src/BeanHandler.php
@@ -1,9 +1,7 @@
 <?php declare(strict_types=1);
 
-
 namespace Swoft;
 
-
 use Swoft\Aop\Aop;
 use Swoft\Aop\Proxy;
 use Swoft\Bean\Definition\ObjectDefinition;
@@ -111,6 +109,7 @@ class BeanHandler extends Handler
      *
      * @return mixed|string
      * @throws \Swoft\Bean\Exception\ContainerException
+     * @throws \ReflectionException
      */
     public function getReferenceValue($value)
     {
@@ -122,6 +121,7 @@ class BeanHandler extends Handler
             $value = \implode('.', $values);
         }
 
-        return \config($value);
+        /** @see \Swoft\Config\Config::get() */
+        return \Swoft::getBean('config')->get($value);
     }
 }
update some logic for parse bean. add new class for ws server