fix a bug where body is not sent over xhr