delete generate index