Removing unnecessary tabs