QuestionMaker error / removed for now

SCENE_BASIC_ENTER
LOADING NEW QUESTION
LOADING NEW QUESTION
EVENT_CLICK
updating rocket 0.5
EVENT_CLICK
Next frame now
LOADING NEW QUESTION
LOADING NEW QUESTION
EVENT_CLICK
updating rocket 0.5
EVENT_CLICK
Next frame now
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\Main.py",
line 137
, in loopRender
self.dicScenes[self.myState].renderUpdate(self.clock.get_time() * .001)
File
"C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\SceneWin.py",
line
71, in renderUpdate
s.helperRaiseEvent(s.EVENT_FINISHED)
File
"C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\SceneBasic.py",
li
ne 11, in helperRaiseEvent
for e in events: e();
File "C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\Main.py",
line 71,
in EVENTHDR_SCENE_CONTINUE_GAME
self.changeState(self.STATE_GAME)
File "C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\Main.py",
line 150
, in changeState
self.dicScenes[stateNew].EVENT_SCENE_START()
File
"C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\SceneGame.py",
lin
e 309, in EVENT_SCENE_START
self.initLevel()
File
"C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\SceneGame.py",
lin
e 192, in initLevel
self.questionMaker.makeNextQuestion(self.questionLevel)
File
"C:\Users\Kyunghwan\Documents\GitHub\xo-fractions-game\QuestionMaker.py",
line 61, in makeNextQuestion
goalMod = denom % 5
UnboundLocalError: local variable 'denom' referenced before assignment

SceneWin Click