Removing tabs corectly