Fixed parseMaterialProperties.