xhr typo fix