delete default and index