Revert the change of materials