@norihiro-w - I have to apologise ... you were right concerning the nullptr-thing. at some point something seems to have changed in the code and this code was not adapted because I am sure that was working correctly before. anyway, I changed the element removal, it is now working correctly but probably a bit slower (using ```std::find()```).