trim lines when selecting and evalling