cleanup schematic