fixed a little bug with deleting wires :D