Fix the length issue.