add label to tab, clean some log