modeldict mask unification