Fix cross domain issue