fix mb char issue