fixed id not being generated for new recipes