fixing some method calls to adding to symtab