fix environment loading [#55631040]