deploy.sh bug fix