fix bug with unicodes