fix string length
fix string length bug