[DF-29] fix for proper detaching from material system