Fix typo in token generation