cross-domain fix