ensure index is deprecated