cleanning some code

TODO : display editor