standardize code formatting and line endings