Fix bug by updating CORS module