remove method added to index.