fix warnings, some endlines were inconsistent