fixed SymbolRegister to pass scopes through a STL stack