Fixed bug with recipe initialization.