remove periods from hostnames