fix: complete callback to send xhr