H2TeamGoals statements correction (make non-static and test existence before closing)