remove unused classes of tabedpane