minor fixes in adding tab