Fix order of IDO setup