seq: fix first and next