fixed bug where you have to create team twice to see the result on the page