[refactor] remove getenv().