fix the matching function in the decorator