fix 1 bug, which comes from multi byte text.