fix for th not having a css class if no :attribute is given