add TR attribute setting