fix hostmask