saving of lines was wrongly implemented after the change with subfeatures