[DF-3978] fixes for initialization of material flags