fix environment variable loading
0.3.1