fixing non ascii chars segment fault