Fix cross-domain error