remove env calls that don't seem necessary