edm improvement

Signed-off-by: kylox <maxime.gaudron@hotmail.fr>