Fix failed tokens

- Zero was cast to blank in `$crop`
- `generateToken` uses `$uID` which we don't want