Fix in case there is an encoding problem - at least avoid crash