trivial fix to make ES_DISABLED=1 actually work