fix swagger CORS problem detection (tm)