fixes bug that doesn't show labels on table view