cleanup Netlist