fixed an error with unicode