fix string lengths