fixes recipe duplication bug