--Bugfix to code_run_environment