Cleaning index_GS of garbage code