simplify eols