minor changes on editor
adapted to performance fix