fixed bug with one match and match is first letter