revise style for index