attempted fix for missing env var