fixed bug: empty envinit