fixed an issue in the game solver