correct array issue