fix team creation