fix bugs for Hangul

Need to refine codes