fix environment variable