added dea.env.robust code