fixed refactor bug in Game.java