array recipe bug fix