sort dict
fix unknown word bug