fix host creation