fixes orphan-deletion stubs.