fixed a couple bugs in game class