solve blank index item error