fix table header background color
fix bug on delete last record of the table