Fixed EDD api issue