code cleanup index done