fix string length