game: fix some warnings