make sure we hide the tableView is not list type