fixed chinese characters messy code problem