clean up index, change default values