try to fix safari CORS issue