remove environment stuff