Fixed bug in EDC for LES