fixed a bug wrt hangul in preamble