fix xhr interception