fixed findbug violations in gamecontroller