corrected environment var use