fixed some bugs in Game model