fix host definition error