game logic bugs