fixed ES conversion