fixing the environment variables