check for invalid tokens
1.0.2