fix empty domain field