clean_up_index