fix host mask