cleaning the matcher