fix; envvars defaulting to string "undefined"