Fix shaped recipe bug