add missing mongo.db.name to template