disabling "remove" while using two iterators