fixed env variable use