fixed #31 fixed segfault in case if env section not provided