refine error message in deploy.sh