prefs layout fix