fixed teams and tournaments create errors