fix a bug in match