remove extra environment