Remove ambiguous variable name 'env'