Fixed elastic search publish