Correcting environment variable