diff --git a/samples/chat2/server/master.php b/samples/chat2/server/master.php
index a1747d2..d0e7ddd 100644
--- a/samples/chat2/server/master.php
+++ b/samples/chat2/server/master.php
@@ -6,7 +6,7 @@
 }
 
 $config = array(
-    'class' => 'morozovsk\websocket\Chat2WebsocketMasterHandler',
+    'class' => 'morozovsk\websocket\samples\Chat2WebsocketMasterHandler',
     'pid' => '/tmp/websocket_chat2_master.pid',
     'websocket' => 'tcp://127.0.0.1:8011',
     'localsocket' => 'tcp://127.0.0.1:8010',
diff --git a/samples/chat2/server/worker.php b/samples/chat2/server/worker.php
index 0b6d544..b740369 100644
--- a/samples/chat2/server/worker.php
+++ b/samples/chat2/server/worker.php
@@ -6,7 +6,7 @@
 }
 
 $config = array(
-    'class' => 'morozovsk\websocket\Chat2WebsocketWorkerHandler',
+    'class' => 'morozovsk\websocket\samples\Chat2WebsocketWorkerHandler',
     'pid' => '/tmp/websocket_chat2_worker.pid',
     'websocket' => 'tcp://127.0.0.1:8001',
     //'localsocket' => 'tcp://127.0.0.1:8010',
diff --git a/samples/chat3/server/index.php b/samples/chat3/server/index.php
index c894b60..a3c911e 100755
--- a/samples/chat3/server/index.php
+++ b/samples/chat3/server/index.php
@@ -6,7 +6,7 @@
 }
 
 $config = array(
-    'class' => 'morozovsk\websocket\Chat3WebsocketDaemonHandler',
+    'class' => 'morozovsk\websocket\samples\Chat3WebsocketDaemonHandler',
     'pid' => '/tmp/websocket_chat.pid',
     'websocket' => 'tcp://127.0.0.1:8004',
     'localsocket' => 'tcp://127.0.0.1:8010',
diff --git a/samples/game/server/index.php b/samples/game/server/index.php
index f0813f8..ad9fa27 100755
--- a/samples/game/server/index.php
+++ b/samples/game/server/index.php
@@ -6,7 +6,7 @@
 }
 
 $config = array(
-    'class' => 'morozovsk\websocket\GameWebsocketDaemonHandler',
+    'class' => 'morozovsk\websocket\samples\GameWebsocketDaemonHandler',
     'pid' => '/tmp/websocket_game.pid',
     'websocket' => 'tcp://127.0.0.1:8002',
     //'localsocket' => 'tcp://127.0.0.1:8010',
diff --git a/samples/game2/server/index.php b/samples/game2/server/index.php
index 865c702..34d926c 100755
--- a/samples/game2/server/index.php
+++ b/samples/game2/server/index.php
@@ -6,7 +6,7 @@
 }
 
 $config = array(
-    'class' => 'morozovsk\websocket\Game2WebsocketDaemonHandler',
+    'class' => 'morozovsk\websocket\samples\Game2WebsocketDaemonHandler',
     'pid' => '/tmp/websocket_game2.pid',
     'websocket' => 'tcp://127.0.0.1:8003',
     //'localsocket' => 'tcp://127.0.0.1:8010',