fix display of tables