fixed create game code

hi