fixup! captureElements replaces static/dynamic elements