fix clientId, line endings