seq bug fix