Add "set -u" to find undefined var