if a string is given to removeObject() and can't be resolved to an element, do nothing