Made sure all mats are deleted as well as released