Fix env problem