trim the lines / partially