fix recipes for code reuse