Changing the spaces into the tabs