temp patch to fix xdomain header issue