Fixed ML string conversion