choose better template var name
fix reformatting of category attributes