Fixed a stupid bug for the tab processing from bash.