Fix type in token