not working es client