* team_code bug fixing