Solved bestmove bug