fix get environment var typo