Fix bug: edit list while iterating