fix array issue.