Remove end sequence at the end of  Seq.