fix a small margin bug on index