fix commit for elasticsearch (pid issue)