added category-legend
removed custom data from template