fix host flags