change show to table