use an elegant way to deal with _ENV