fix the lack of label in addtab