Delete the previous material.