add preAddMaterial