fix retry to actually return correct sequences