diff --git a/bin/doctrine.php b/bin/doctrine.php
index 842c5493f..81e016686 100755
--- a/bin/doctrine.php
+++ b/bin/doctrine.php
@@ -26,6 +26,7 @@ $autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
 foreach ($autoloadFiles as $autoloadFile) {
     if (file_exists($autoloadFile)) {
         require_once $autoloadFile;
+        break;
     }
 }
 
@@ -63,4 +64,4 @@ if ( ! ($helperSet instanceof HelperSet)) {
     }
 }
 
-\Doctrine\ORM\Tools\Console\ConsoleRunner::run($helperSet, $commands);
+ConsoleRunner::run($helperSet, $commands);