fixing more references to get_host