Corrected string conversion