bug consuming env var