fix minor issue with short word matching.