deal with unicode problems