fix table ui

Fix a view UI issues that make the table look ugly