these cross-domain errors were giving me hard time