fix crash on short word stemming