drop the index first