stop function fix