fixed errors for Hostname and debug