Index was outside the bounds of the array error c#

 private void GamesList_SelectedIndexChanged(object sender, EventArgs e)
        {
            string[] values = GamesList.GetItemText(GamesList.SelectedItem).Split('\t'); //Read and splits the selected data into an array.
            NameBox.Text = values[0]; //Defines the split up data from the array into the text boxes then displays it.
            PlatformBox.Text = values[1];
            CostBox.Text = values[2];
        }          
 private void GamesList_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            DialogResult confirmDelete = MessageBox.Show("Are you sure you want to delete this Games from the list?", "Confirm Delete", MessageBoxButtons.YesNo);
            if (confirmDelete == DialogResult.Yes)
            {
                ClearInput();
                GamesList.Items.Remove(GamesList.SelectedItem);
                log.Items.Clear();
                log.Items.Add("Deleted game from the list successfully.");
                SortArray();
            }
            else
            {
                log.Items.Clear();
                log.Items.Add("Game kept in list.");
            }

        } 

The error shows on the PlatformBox.Text = values[1]; of the code, this happens when I load the save data and try to delete an item from a listbox, it works fine for items that are not from save data. They are split because they are entered into the listbox as 1 item, this has to stay the same. The top code is the code that puts the selected information in the listbox to the text boxes, the bottom code is the delete button(activated upon double clicking the listbox item, which also activates the top code twice).