fixing table and tab styles