fixed the matching to word match