Handle too long strings in a smarter way