fix cross-domain issue.