correct an error regarding method call in recipemanager class