restore matcher class