fixed ordering of materials in class 1