fixed errors in token