Fixing the case when a token was entered incorrectly