Wrong stop function called