fix set static environments