Fixes string conversion.