fixed the seq issue