fixed invalid token spec