Cleanup tab->spaces.