Fix a bad use of collector outside execute