Fixed a coding error in the xhr.get function.