set -u after checking args