make hostmasks sane