Fix bug in game