remove mat folder