cleanup of symbol table internals and caller