Blueprint::Remove element from map and get keys after this

This error causes me to change the logic of the component((