fixes ensugars signature

If a tree inherited both SymTree and NameTree, that led to problems