make sure db_name gets set