gameLogic bug fix