Addressing improper tuple-to-string conversion