new variables and fix for es producer
new variables and fix for es producer