Fix cross-domain issue