fix some crashes, and a recipe...