Some fix for cross-domain request.