fix functionality of game page