don't keep empty hostname