Fixing warning + save_team in session