error correction in deploy shell script