fixed: string iterators might get invalidated when calling string::erase