fix environment variables