preserve dep env from delete