api: fix crash when cf removed

No match.