Fixed up getXHR adapting