remove Matrix dir