keep modcount reliable after "id" removal