fixed to get rid of bad domain names