fix UI for the table display