env variables loading problems fixed