resolve cross domain issue