allow undo after a losing move