Cookbookrecipe parser with memory error bug