Editor - remove useless code