fixed mistery bug:
PHP Warning:  MongoClient::selectDB() expects parameter 1 to be MongoClient, null given in /doctrine/mongodb/lib/Doctrine/MongoDB/Database.php on line 282
PHP Fatal error: Call to a member function selectCollection() on a non-object in /doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php on line 469