Fix helper env method.