added cross domain error warning