fix: seq shouldn't go over 65535