fixing styling and empty tables