CORS dependency fix