remove namespaces from tokens again when they go out of scope