Fix typo in tab removal