fixed error when stop called before surgeon initialized