add set -e to a1