fix missing variable team