fixed a very rare concurrency issue with the dynamic pack improved error handling for the block swap type ingredient