fix history display style in class view