minor change, to counter log (0) stop case