Be a little more defensive about parsing the token