optimize talbe style