bugfixes in tokens seq