fix some spell error and compatible with no-ascii string