fixed the display of the table on the UI