fix get recipe loop