fix local mode of game