Fix capturing code
Add a warning about presumptuous code