Delete excess tabs