behavior spaces to tabs. TODO: bugfix