fixes for db_name getting set properly