string: length fix