make ancestor mask a little better