Fixed cross domain issue