fixed some pagnum errors and a clever bug in matchset