remove duplicate environment