ic3: check for err and if you get an err, try the next one