fix templates and css summary