fixes with selection, separator, line insert/del