stop.sh bug fix