I have this code using an api , the first iteration is showing everything right , but at the second iteration is showing the items from the first iteration + the items from the