resolves errors in recipe/show display and in recipe/new