Fixed string conversion problem