first commit DetectStop not working