couldn't put dbname from config in mongo call