remove deprecated records