fix bug in table styling