fixed some miner bugs, which we discovered while runnning the game