optimize recipe store
debug recipestore.c