fix for editor lines manipulation