Fix machine to string conversion.