ensure is useless as we anyway remove the fragment if it's not managed
linting