fixed trailing newline in preferences.xml