This fix is likely wrong (t is only used in the `token.next` branch), and would be performance suicide either way.