fix recipe create and edit

fix recipe create and edit