recipeitem function fixes