fix bug with unicode