fix optional arg for stop