fix forever referencing bug in LoopEndBrick+CBXMLHandler (II)