fix: empty hostnames are invalid hostnames
fixed indents