corrected environment var refs