small tweak in match