remove some C code
wrap tools when iterating pointables