fix Access-Control-Allow-Origin problem