added cross domain setting