game: resolve some warnings