Fixed issue in parseMaterialProperties.