Fixes to second IP cookbook