also cleanup newline style in cleanup-buffer