fix in _extract_protection_group