setting cross domain to true