Sanitize string conversion fix