Remove redundant set
Drop double $$ from variable name
Use global cpzoneid variable