Element at position [24] does not exist in list