fix tag name for loop end bricks