fixed tr class problems