fix env ctrl init after refactor for test