fixed the seq command issue