removes env