rewrite of failregions for CaptureKit