fix #36 diagnosis mode not working in UI
correct line endings (unix)