accommodate missing key
env