fix endpoint access token