fix ES detection for http path deletion