Fix cross origin support problem