Fixed err re-declaration issue.