spaces to TABs