added elastic search debugging