fix results not in sequence