adjusted current mode to display host address if it isn't localhost