Fix cross origin issue