Remove unnecessary tabs