fixing local env variable