diff --git a/lib/vanity/adapters/mongodb_adapter.rb b/lib/vanity/adapters/mongodb_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/vanity/adapters/mongodb_adapter.rb
+++ b/lib/vanity/adapters/mongodb_adapter.rb
@@ -19,8 +19,8 @@ module Vanity
 
       def initialize(options)
         if options[:hosts]
-          args = *options[:hosts].map{|host| [host, options[:port]] }
-          @mongo = Mongo::ReplSetConnection.new(args, {:connect => false})
+          args = (options[:hosts].map{|host| [host, options[:port]] } << {:connect => false})
+          @mongo = Mongo::ReplSetConnection.new(*args)
         else
           @mongo = Mongo::Connection.new(options[:host], options[:port], :connect => false)
         end
Fixed a bug after really using the fork in a proper environment.