converting hostnames to lowercase