fix for es 1.0.0