reformat code
hero display type style revision