Exception Material

Rewrited the material cleaning part