small fix on getseq