fixing environment var