Error AI2 of dynamic extension


Can anyone tell where is the problem in my blocks?
Almost given 1 day but didn’t understand where the problem in my blocks is.

do not use label id as lable1 or lable2, instead use some extra symbol like
lab1-
lab2-
hor1-
hor2-

this will prevent unique ID setup and its error