fixed some copy issues
diff --git a/mag/user_analog_project_wrapper.mag b/mag/user_analog_project_wrapper.mag
index 5b787c7..37b7717 100644
--- a/mag/user_analog_project_wrapper.mag
+++ b/mag/user_analog_project_wrapper.mag
@@ -1,7 +1,7 @@
 magic
 tech sky130B
 magscale 1 2
-timestamp 1654722173
+timestamp 1656946276
 << viali >>
 rect 531009 283461 531043 283495
 rect 537801 282968 537835 283003
@@ -260,12 +260,11 @@
 rect 898 634568 3362 634577
 rect 2517 634504 3362 634568
 rect 2537 514438 3362 634504
-rect 261362 615323 262080 681000
+rect 261362 581646 262080 681000
 rect 531988 633060 583933 633070
 rect 531988 632030 582893 633060
 rect 583923 632030 583933 633060
 rect 531988 632020 583933 632030
-rect 261362 581646 262080 615247
 rect 261362 581378 262072 581646
 rect 261362 579878 262074 581378
 rect 261365 554940 262072 579878
@@ -1363,30 +1362,30 @@
 rect -100 0 0 704000
 rect 584000 0 584100 704000
 rect -100 -100 584100 0
-use 1T1R_2x2  1T1R_2x2_0
-timestamp 1647533459
-transform 1 0 562058 0 1 685450
-box 0 0 864 800
-use C4  C4_0
-timestamp 1654715540
-transform 1 0 530809 0 1 283177
-box -3132 -258 1273 678
-use FG_pfet  FG_pfet_0
-timestamp 1654453464
-transform 1 0 52313 0 1 660624
-box -2563 -40 1390 600
-use hv_tgate  hv_tgate_0
-timestamp 1648694146
-transform 1 0 230448 0 1 427446
-box -5090 -470 22390 1062
-use sky130_sc_ams__ota_1  sky130_sc_ams__ota_1_0
-timestamp 1654715540
-transform 1 0 533383 0 1 283100
-box -398 -153 6394 687
 use sky130_sc_ams__ota_1  sky130_sc_ams__ota_1_1
 timestamp 1654715540
 transform 1 0 9447 0 1 167134
 box -398 -153 6394 687
+use sky130_sc_ams__ota_1  sky130_sc_ams__ota_1_0
+timestamp 1654715540
+transform 1 0 533383 0 1 283100
+box -398 -153 6394 687
+use hv_tgate  hv_tgate_0
+timestamp 1648694146
+transform 1 0 230448 0 1 427446
+box -5090 -470 22390 1062
+use FG_pfet  FG_pfet_0
+timestamp 1654453464
+transform 1 0 52313 0 1 660624
+box -2563 -40 1390 600
+use C4  C4_0
+timestamp 1654715540
+transform 1 0 530809 0 1 283177
+box -3132 -258 1273 678
+use 1T1R_2x2  1T1R_2x2_0
+timestamp 1647533459
+transform 1 0 562058 0 1 685450
+box 0 0 864 800
 << labels >>
 flabel metal3 s 582300 677984 584800 682984 0 FreeSans 1120 0 0 0 io_analog[0]
 port 36 nsew signal bidirectional
diff --git a/xschem/hv_tgate.sch b/xschem/hv_tgate.sch
index e4cc9fc..dc79a40 100644
--- a/xschem/hv_tgate.sch
+++ b/xschem/hv_tgate.sch
@@ -49,7 +49,7 @@
 N -40 -400 -40 -340 { lab=VGND}
 N 380 -370 450 -370 { lab=VHVPWR}
 C {devices/lab_wire.sym} 450 -370 2 0 {name=l2 lab=VHVPWR}
-C {devices/lab_wire.sym} 230 -510 0 0 {name=l13 lab=pgate}
+C {devices/lab_wire.sym} 230 -510 0 0 {name=l13 lab=not_pgate}
 C {devices/lab_wire.sym} 160 -490 0 0 {name=l3 lab=pgate}
 C {sky130_fd_pr/nfet_g5v0d10v5.sym} 380 -200 3 0 {name=M1
 L=0.5