fixed the table display