fix stopping of game