made ES clearing a runtime flag
.