fix string data length