attempt to delete item 1 from section 0 which only contains 1 items before the update

i am getting an issue whenever i am trying to remove last index from the array and reload CollectionView excode throws this "attempt to delete item 1 from section 0 which only contains 1 items before the update"

attempt to delete item 1 from section 0 which only contains 1 items before the update
 
 
Q