Remove uneeded environment