fix ires to take first result