fix bad domain vars