fix stop function