Token generator fix.