Temporary fix for bizarre XHR bug