attempt to fix env vars