fix env vars and env initalization