cleanup gd3 index