correction to the edp parser