make badfield mask