trim the long line