Fixed key length issue.