diff --git a/src/DoctrineMongoODMModule/Module.php b/src/DoctrineMongoODMModule/Module.php
index <HASH>..<HASH> 100644
--- a/src/DoctrineMongoODMModule/Module.php
+++ b/src/DoctrineMongoODMModule/Module.php
@@ -89,7 +89,7 @@ class Module implements
             new \Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\DropCommand(),
         );
 
-        foreach ($commands as &$command) {
+        foreach ($commands as $command) {
             $command->getDefinition()->addOption(
                 new InputOption(
                     'documentmanager', null, InputOption::VALUE_OPTIONAL,
Don't need the '&' there since the commands are references