clean dead code
Correction EditType use