fixed add recipe bug