In preparation to the entire removal of ids, the method for removing tags, was rewritten in order to avoid depending on them.