Trying to fix one array error in index page.