environmental variable fix