stopped directing to game page when current game is undefined

fixes issue #22