Delete unnecessary string conversion

Is this really necessary?