diff --git a/modules/util/Util/MongoDB.pm b/modules/util/Util/MongoDB.pm
index 522aa596c8c279f8235aae8488e75bc8cafd70f4..3a09572562f6bf2790bf160875d7d4f63ffa1a4b 100644
--- a/modules/util/Util/MongoDB.pm
+++ b/modules/util/Util/MongoDB.pm
@@ -66,7 +66,7 @@ sub attach
 
   return $mdb unless (defined ($col_name));
 
-  my $col= $mdb->get_collection ($col_name);
+  $col= $mdb->get_collection ($col_name);
 
   if (defined ($col))
   {