fix minor spacing bug on index