Removed leaked global from addFacet