fix for setting default mongo database