fixed api stop call